An Approach to Formalization and Analysis of Message Passing Libraries

نویسندگان

  • Robert Palmer
  • Michael Delisi
  • Ganesh Gopalakrishnan
  • Robert Michael Kirby
چکیده

Message passing using libraries implementing the Message Passing Interface (MPI) standard is the dominant communication mechanism in high performance computing (HPC) applications. Yet, the lack of an implementation independent formal semantics for MPI is a huge void that must be filled, especially given the fact that MPI will be implemented on novel hardware platforms in the near future. To help reason about programs that use MPI for communication, we have developed a formal TLA+ semantic definition of the point to point communication operations to augment the existing standard. The proposed semantics includes 42 MPI functions, including all 35 point to point operations, many of which have not been formally modeled previously. We also present a framework to extract models from SPMD-style C programs, so that designers may understand the semantics of MPI by exercising short, yet pithy, communication scenarios written in C/MPI. In this paper, we describe (i) the TLA+ MPI model features, such as handling the explicit memory for each process to facilitate the modeling of C pointers, and some of the widely used MPI operations, (ii) the model extraction framework and the simplifications made to the model that help facilitate explicit-state model checking of formal semantic definitions, (iii) a customized model checker for MPI that performs much faster model checking, and features a dynamic partial-order reduction algorithm whose correctness is directly based on the formal semantics, and (iv) an error trail replay facility in the Visual Studio environment. Our effort has helped identify a few omissions in the MPI reference standard document. These benefits suggest that a formal semantic definition and exploration approach as described here must accompany every future effort in creating parallel and distributed programming libraries.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Performance Analysis of Message-Passing Libraries

This paper presents a performance analysis of message-passing overhead on high-speed clusters. Communication performance is critical for the overall high -speed cluster performance. In order to analyze the communication overhead, a new linear model proposed in this work is used for its characterization. Performance models have been derived using our own micro-benchmark suite on MPI C and emergi...

متن کامل

PVM and MPI Communication Operations on the IBM SP2: Modeling and Comparison

Most current message passing programs use the portable communication libraries PVM and MPI to realize communication. In this paper, we investigate the performance of single transfer operations and several collective communication operations, like broadcast or gather operations, using the portable communication libraries PVM and MPI on the IBM SP2. Our investigations include timings of different...

متن کامل

رابطۀ متغیرهای طراحی ساختار سازمانی و اجرای مدیریت دانش در کتابخانه‌های عمومی شهر مشهد

Purpose: The purpose of this study is to evaluate the relationship between dimensions of organizational structure and variables of the implementation of knowledge management in Mashhad public libraries. Methodology: A survey of 106 librarians within public libraries of Mashhad was used for this study. Robbins standard questionnaire was used to collect data about variables of organizational str...

متن کامل

Performance analysis of message-passing libraries on high-speed clusters

This paper presents a performance analysis of message-passing overhead on highspeed clusters. Communication performance is critical for the overall high-speed cluster performance. In order to analyze the communication overhead, a new linear model proposed in this work is used for its characterization. Performance models have been derived using our own micro-benchmark suite on MPI C and emerging...

متن کامل

A Case Study in Exploiting Layers to Optimize Scientific Software

This paper presents a case study in improving the performance of layered scientific software using library-level optimization. We augment our previous work to include a notion of layers, and apply the technique to the three layers that make up the PLAPACK parallel linear algebra library—a global application level, an internal layer, and an MPI message passing layer. We show how significant perf...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007